package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author zhangjunjie 2019/4/29
 * 关注表
 */
@Entity
@Table(name = "js_attention")
@ApiModel(value = "关注表" ,description = "关注表")
public class AttentionInfo extends UUIDEntity {
    @Column(name = "order_id")
    @ApiModelProperty(value = "orderId", required = true)
    private String orderId;//订单id

    @Column(name = "tech_id")
    @ApiModelProperty(value = "techId", required = true)
    private String techId;//技师id

    @Column(name = "attention_time")
    @ApiModelProperty(value = "attentionTime", required = true)
    private Date attentionTime;//关注时间

    @Column(name = "read_flag")
    @ApiModelProperty(value = "readFlag", required = true)
    private Integer readFlag;//阅读标志  0未阅读  1已阅读

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTechId() {
        return techId;
    }

    public void setTechId(String techId) {
        this.techId = techId;
    }

    public Date getAttentionTime() {
        return attentionTime;
    }

    public void setAttentionTime(Date attentionTime) {
        this.attentionTime = attentionTime;
    }

    public Integer getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Integer readFlag) {
        this.readFlag = readFlag;
    }
}


